<!--<ion-header id="xinwen">-->
  <!--<ion-navbar>-->
    <!--<ion-title>新闻1</ion-title>-->
  <!--</ion-navbar>-->
<!--</ion-header>-->

<ion-content>
  <div class="top-nav">
    <div class="top_menu">
      <div id="divid" class="top_menu_list">
        <a class="cur" (click)="getTianQi('top')">头条</a>
        <a (click)="getTianQi('shehui')">社会</a>
        <a (click)="getTianQi('guonei')">国内</a>
        <a (click)="getTianQi('guoji')">国际</a>
        <a (click)="getTianQi('yule')">娱乐</a>
        <a (click)="getTianQi('tiyu')">体育</a>
        <a (click)="getTianQi('junshi')">军事</a>
        <a (click)="getTianQi('keji')">科技</a>
        <a (click)="getTianQi('caijing')">财经</a>
        <a (click)="getTianQi('shishang')">时尚</a>
      </div>
    </div>
  </div>

  <div class="main-list">
    <ion-card *ngFor="let p of items" >
      <a [href]=p.url >
        <img [src]=p.imgurl >
        <ion-card-content>
          <ion-card-title>
            {{p.title}}
          </ion-card-title>
          <p>
            {{p.date}}
          </p>
        </ion-card-content>
      </a>
    </ion-card>
  </div>
</ion-content>
